package vip.ablog.xmall.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import vip.ablog.common.utils.R;

import java.util.List;

@FeignClient("xmall-ware")
public interface WareFeignService {

    @PostMapping("ware/waresku/hasStock")
    R getSkusHasStock(@RequestBody List<Long> skuIds);
}
